package mysql

import "gorm.io/gorm"

type Question struct {
	gorm.Model
	UserId    string `gorm:"index"`
	ProblemId uint   `gorm:"index"`
	Title     string
	Content   string
}

// TableName returns the table name of the Action model
func (q *Question) TableName() string {
	return "questions"
}
